package C.e.string;
public class StartsIWithDemo {
    public static void main(String[] args) {
      String q="寄鸡几集级及急记即挤计极季既";
      boolean w=q.startsWith("寄");
        System.out.println(w);
        boolean e=q.endsWith("既");
        System.out.println(e);
        boolean r=q.endsWith("鸡");
        System.out.println(r);












       /* String str="thinking in java";
        boolean starts=str.startsWith("think");
        System.out.println(starts);
        boolean ends=str.endsWith(".png");
        System.out.println(ends);


        */

    }
}
